package lk.icta.common.dao;

import lk.icta.common.entity.RailwayTrack;
import lk.icta.user.entity.User;

import java.util.Map;

/**
 * @author Supun Viraj Rathnayaka
 */
public interface RailwayTrackDAO {

    /**
     * Returns All Railway Tracks
     *
     * @param language the selected language
     * @param user     the user requesting the full Railway Track name list
     * @return a Map of all Railway Tracks for the given language along with the track ID
     */
    Map<Integer,String> getAllRailwayTracksByUserLanguage(String language, User user);

    RailwayTrack getRailwayTrackById(int railwayTrackId);
}
